import * as React from 'react';
import { RouteComponentProps, withRouter } from 'react-router';
import {withAuth} from 'api/Auth';
import {connect} from 'react-redux';
export interface IDemoProps extends RouteComponentProps{
}

export interface IDemoState {
}

class Demo extends React.Component<IDemoProps, IDemoState> {
  constructor(props: IDemoProps) {
    super(props);

    this.state = {
    }
  }

  public render() {
    return (
      <div>
      Demo
        </div>
      );
  }
}
const mapStateToProps=(state:any)=>{
  return {}
}

const mapDispatchToProps={}

const WithConnect=connect(mapStateToProps,mapDispatchToProps)(Demo)
export default withRouter(withAuth(WithConnect))
